<?php
class User_model extends Model {
	function create() {
		$data = array(
			'employer_name' => $this->input->post('employer_name')
		);
		$this->db->insert('users', $data);
	}

	function readAll() {
		$query = $this->db->get('users');
		return $query->result();
	}
}
?>
